package org.py.mymodule.submodule.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 菜品
 * </p>
 *
 * @author author
 * @since 2025-04-11
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("dish")
public class Dish implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField("dish_name")
    private String dishName;

    /**
     * 餐别
     */
    @TableField("category")
    private String category;

    /**
     * 厨师
     */
    @TableField("chef")
    private String chef;

    /**
     * 描述
     */
    @TableField("introduce")
    private String introduce;

    /**
     * 评分
     */
    @TableField("star")
    private Double star;

    @TableField("created_time")
    private LocalDateTime createdTime;


}
